package string;

/**
 * A standard java bean requires:
 * 1. all variables are "private"
 * 2. getter/setter methods
 * 3. parameterless construction method
 * */

public class Point {
    private int x;
    private int y;

    public Point() {
    }
    public int getX() {
        return x;
    }
    public void setX(int x) {
        this.x = x;
    }
    public int getY() {
        return y;
    }
    public void setY(int y) {
        this.y = y;
    }
}
